module.exports = function (sequelize, DataTypes) {
    const AppletBikeCollect = sequelize.define(
        'appletBikeCollect',
        {
            bikeId: {
                type: DataTypes.STRING,
                allowNull: false,
                comment: '名字'
            },
            userId: {
                type: DataTypes.STRING,
                allowNull: false,
            },
            // source: {
            //
            // }
        },
        {
            timestamps: true, //createAt updateAt是否显示
            createdAt: 'createdTime', // 将createdAt设为自定义字段createdTime
            updatedAt: 'updatedTime'
        }
    )
    return AppletBikeCollect
}

